package hotel.callback.oversea.vo.meituan;

import lombok.Data;

/**
 * 调用美团接口公共请求参数vo
 */
@Data
public class CommonParamsVo {
    private String method;
    private String version;
    private long timestamp;
    private int nonce;
    private int partnerId;
    private String data;
    private String accesskey;
    private String signature;

    public CommonParamsVo setMethod(String method) {
        this.method = method;
        return this;
    }

    public CommonParamsVo setVersion(String version) {
        this.version = version;
        return this;
    }

    public CommonParamsVo setTimestamp(long timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public CommonParamsVo setNonce(int nonce) {
        this.nonce = nonce;
        return this;
    }

    public CommonParamsVo setPartnerId(int partnerId) {
        this.partnerId = partnerId;
        return this;
    }

    public CommonParamsVo setData(String data) {
        this.data = data;
        return this;
    }

    public CommonParamsVo setAccesskey(String accesskey) {
        this.accesskey = accesskey;
        return this;
    }

    public CommonParamsVo setSignature(String signature) {
        this.signature = signature;
        return this;
    }
}
